package javaseof10day.day6.am;

import java.awt.BorderLayout;
import java.awt.EventQueue;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.table.DefaultTableModel;

import java.awt.Toolkit;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;

import javax.swing.JScrollPane;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import javax.swing.JTable;
 
public class InputStreamRreadASCIIDemo extends JFrame{
 


	public static void main(String[] args) throws IOException{
		
	
    	//读取文件的字符输出ASCII码的值
		
		    	  InputStream input  = new FileInputStream("src/readme.txt");
		        int n;
		        while ((n = input.read()) != -1) {
		        	
		    
		            System.out.println(n);
		        }
		  
		
		
		
	}
 
	

 
}
